package com.angel.dao.health;

import com.angel.core.base.BaseMapper;
import com.angel.health.Archives;
import com.angel.health.BuzMedicineRecord;
import com.angel.health.BuzMedicineRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BuzMedicineRecordMapper extends BaseMapper<BuzMedicineRecord>{
    int countByExample(BuzMedicineRecordExample example);

    int deleteByExample(BuzMedicineRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insertSelective(BuzMedicineRecord record);

    List<BuzMedicineRecord> selectByExample(BuzMedicineRecordExample example);

    BuzMedicineRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BuzMedicineRecord record, @Param("example") BuzMedicineRecordExample example);

    int updateByExample(@Param("record") BuzMedicineRecord record, @Param("example") BuzMedicineRecordExample example);

    int updateByPrimaryKey(BuzMedicineRecord record);
    
    List<Archives> findMRForApp(@Param("customerId") String customerId);
    
    int delAll(@Param("ids") String ids);
}